package com.mida.bms.report.mapper;

import com.mida.bms.report.entity.DocStructReportLifeCycle;

public interface DocStructReportLifeCycleMapper {
    int deleteByPrimaryKey(Long stReportLifeCycleSoid);

    int insert(DocStructReportLifeCycle record);

    int insertSelective(DocStructReportLifeCycle record);

    DocStructReportLifeCycle selectByPrimaryKey(Long stReportLifeCycleSoid);

    int updateByPrimaryKeySelective(DocStructReportLifeCycle record);

    int updateByPrimaryKey(DocStructReportLifeCycle record);

    Integer countCheckSum(Long employeeSoid, Long code);

    Integer countdraftSum(Long employeeSoid, Long code);

    DocStructReportLifeCycle selectNewestByStReportSvcSoid(Long stReportSvcSoid);

    DocStructReportLifeCycle selectNewestByStReportSoid(Long stReportSvcSoid);



    int updatePostponeLifeCycleStatus(Long stReportSoid);

}